
#ifndef _BSP_W5500_H_
#define _BSP_W5500_H_

#include "bsp.h"

#include "driver/spi_master.h"

#define CONFIG_EXAMPLE_W5500_SPI_HOST 1  //SPI2_HOST
#define CONFIG_EXAMPLE_W5500_SPI_CLOCK_MHZ  20

#define CONFIG_EXAMPLE_W5500_MISO_GPIO 5
#define CONFIG_EXAMPLE_W5500_MOSI_GPIO 4
#define CONFIG_EXAMPLE_W5500_SCLK_GPIO 6
#define CONFIG_EXAMPLE_W5500_CS_GPIO 7

#define CONFIG_EXAMPLE_W5500_INT_GPIO 10
#define CONFIG_EXAMPLE_W5500_RST_GPIO 18

void bsp_w5500_init(void);
#endif
